package top.tangyh.lamp.care.vo.result;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import top.tangyh.lamp.care.entity.BCareIsbarAPg;

import java.time.LocalDateTime;

@Data
@Schema(description ="A评估和交班明细回参类")
public class CareISBARAPgOutVO {

    private Long id;

    @Schema(description ="对应明细记录id")
    private Long detailId;

    @Schema(description ="班次名称")
    private String workName;

    @Schema(description ="A评估 病人检查检验等其他特殊情况和处理经过")
    private String aPg;

    @Schema(description ="交班时间")
    private LocalDateTime jiaoBanTime;

    @Schema(description ="交班人姓名")
    private String jiaoBanName;

    @Schema(description ="接班时间")
    private LocalDateTime jieBanTime;

    @Schema(description ="接班人姓名")
    private String jieBanName;


    public String getaPg() {
        return aPg;
    }

    public void setaPg(String aPg) {
        this.aPg = aPg;
    }

    public CareISBARAPgOutVO(BCareIsbarAPg po) {
        this.id = po.getId();
        this.detailId = po.getDetailId();
        this.workName = po.getWorkName();
        this.aPg = po.getaPg();
        this.jiaoBanTime = po.getJiaoBanTime();
        this.jiaoBanName = po.getJiaoBanName();
        this.jieBanTime = po.getJieBanTime();
        this.jieBanName = po.getJieBanName();
    }

    public CareISBARAPgOutVO() {
    }
}
